package model.caret;

/**
 * This interface is for objects wanting to observe a {@link CaretRef} and the {@link Caret} within.
 *
 * @author Neil Dickson
 */
public interface CaretObserver {
	/**
	 * This is called whenever the {@link CaretRef} or the {@link Caret} changes.
	 *
	 * @param caretRef the {@link CaretRef} that has changed
	 */
	void caretChanged(CaretRef caretRef);
}
